﻿@model RedSand.Site.Models.RegistryInfo
<div class="box dialog" title="@ViewBag.Title">
    @using (Ajax.BeginForm(AdminAjaxOptions.UpdateRecord))
    {
        <div class="dialog-content">
            @Html.HiddenFor(model => model.Key)
            <div class="form-cell">
                <label>Giá trị</label>
                @Html.TextBoxFor(model => model.Value)
            </div>
        </div>
        <div class="dialog-footer">
            <input value="@Html.Translate("Save")" type="submit" />
            <input value="@Html.Translate("Cancel")" type="button" onclick="closeDialog('.dialog')" />
        </div>
    }
</div>
